package jgl.vajra.kingkong.part.mine.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.bean.BankCardBean;
import jgl.vajra.kingkong.databinding.ActivityBankCarBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class BankCardContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<BankCardBean> getBankCardData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void onDetermine();

        void returnBankCardData(BankCardBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityBankCarBinding, Model> {

        public abstract void getBankCardData(Map<String, Object> map);
    }
}
